package com.baidu.model;


import java.util.List;

import com.jfinal.plugin.activerecord.Model;

/**
 * 设置 
 * @author libs
 * 2015-11-27 16:55
 */
public class Cron extends Model<Cron>{
	
	private static final long serialVersionUID = 282908528936842633L;
	public static final Cron dao = new Cron();
	
	/**
	 * 查询所有的定时任务
	 * @return
	 */
	public List<Cron> queryAllJobs() {
		return find("select * from cron where 1=1 order by id asc");
	}
	
}
